package com.soku.wangheng.xcoder.config;

import java.io.File;

import org.springframework.context.ApplicationContext;

public class ConfigManager {
	
	private ApplicationContext applicationContext ;
	
	public static ConfigManager I = new ConfigManager();
	private ConfigManager() {
		//Single
	}
	
	public void init(String configPath) {
		if(!configPath.endsWith("/") && !configPath.endsWith("\\")) {
			configPath += File.separator;
		}
		//TODO
	}

	public ApplicationContext getApplicationContext() {
		return applicationContext;
	}
	public void setApplicationContext(ApplicationContext applicationContext) {
		this.applicationContext = applicationContext;
	}
}
